package com.hui.platform.falseworkapi.service.base.sms.service;

import com.aliyuncs.dysmsapi.model.v20170525.QuerySendDetailsResponse;
import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;
import com.aliyuncs.exceptions.ClientException;

/**
 *  阿里SMS短信service
 * @return
 */
public interface AliSmsService {

    /**
     *  发送短信
     * @return
     */
    SendSmsResponse sendSms(String phoneNumbers, String signName, String templateCode, String templateParam) throws ClientException;

    /**
     *  查明细
     * @return
     */
    QuerySendDetailsResponse querySendDetails(String bizId, String phone) throws ClientException;

}
